package com.ss.android.account;

import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import com.ss.android.account.activity.AuthorizeActivity;

final class k implements DialogInterface.OnClickListener {
    private final Spipe b;
    private final Context a;

    k(Spipe arg1, Context arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final void onClick(DialogInterface arg4, int arg5) {
        arg4.dismiss();
        if(Spipe.a(this.b) != null) {
            Intent v0 = new Intent(this.b.O, AuthorizeActivity.class);
            v0.putExtra("platform", Spipe.a(this.b).mName);
            this.a.startActivity(v0);
        }

        Spipe.b(this.b);
    }
}

